﻿using System;
using System.IO;

namespace Hongsh.Pay.Client.Proxy.Http {
    // Token: 0x02000039 RID: 57
    public abstract class HttpStream : Stream {
        // Token: 0x170000A3 RID: 163
        // (get) Token: 0x06000198 RID: 408 RVA: 0x000031AC File Offset: 0x000013AC
        // (set) Token: 0x06000199 RID: 409 RVA: 0x000031B4 File Offset: 0x000013B4
        protected Stream BaseStream { get; set; }

        // Token: 0x170000A4 RID: 164
        // (get) Token: 0x0600019A RID: 410 RVA: 0x000031BD File Offset: 0x000013BD
        public override bool CanSeek { get; }

        // Token: 0x170000A5 RID: 165
        // (get) Token: 0x0600019B RID: 411 RVA: 0x00002A4F File Offset: 0x00000C4F
        public override long Length {
            get {
                throw new NotImplementedException();
            }
        }

        // Token: 0x170000A6 RID: 166
        // (get) Token: 0x0600019C RID: 412 RVA: 0x00002A44 File Offset: 0x00000C44
        // (set) Token: 0x0600019D RID: 413 RVA: 0x00002A4F File Offset: 0x00000C4F
        public override long Position {
            get => 0L;
            set => throw new NotImplementedException();
        }

        // Token: 0x0600019E RID: 414 RVA: 0x000031C5 File Offset: 0x000013C5
        public HttpStream(Stream stream) {
            //Class15.cwcZ3SWztHroi();
            CanSeek = false;
            //base..ctor();
            BaseStream = stream;
        }

        // Token: 0x0600019F RID: 415 RVA: 0x00002A4F File Offset: 0x00000C4F
        public override long Seek(long offset, SeekOrigin origin) {
            throw new NotImplementedException();
        }

        // Token: 0x060001A0 RID: 416 RVA: 0x00002A4F File Offset: 0x00000C4F
        public override void SetLength(long value) {
            throw new NotImplementedException();
        }
    }
}
